package com.yuhl.lambda;

import java.util.ArrayList;
import java.util.List;

/**
 * @author yuhl
 * @Date 2021/6/27 15:26
 * @Classname FilterEmployeeBySalary
 * @Description 根据工资过来雇员类
 */
public class FilterEmployeeBySalary implements MyPredicate<Employee>{

    @Override
    public boolean test(Employee employee) {
        return employee.getSalary() > 2000.00;
    }
}


